<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'id'); ?>
		<?php echo $form->textField($model,'id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'customerSegment'); ?>
		<?php echo $form->dropdownlist($model,'customerSegment', array_merge(array(''=>'-- any --'), BusinessModel::model()->getCustomerSegmentOptions())); ?>		
	</div>

	<div class="row">
		<?php echo $form->label($model,'scale'); ?>
		<?php echo $form->dropdownlist($model,'scale', array_merge(array(''=>'-- any --'), BusinessModel::model()->getScaleOptions())); ?>		
	</div>

	<div class="row">
		<?php echo $form->label($model,'focus'); ?>
		<?php echo $form->dropdownlist($model,'focus', array_merge(array(''=>'-- any --'), BusinessModel::model()->getFocusOptions())); ?>		
	</div>

	<div class="row">
                <?php echo $form->label($model,'tblPartnership');?>
                <br><br>
                <div class="checkboxes-horizontal">
                        <?php echo $form->checkBoxList($model, 'tblPartnership',
                        CHtml::listData(Partnership::model()->findAll(), 'id', 'type'),
                        array('attributeitem' => 'id','separator'=>'<br>','labelOptions'=>array('style'=>'margin-left: 80px;')) ); ?>
                </div>
        </div>
        
	<div class="row">
                <?php echo $form->label($model,'tblRevenuestreams');?>
                <br><br>
                <div class="checkboxes-horizontal">
                        <?php echo $form->checkBoxList($model, 'tblRevenuestreams',
                        CHtml::listData(RevenueStreams::model()->findAll(), 'id', 'name'),
                        array('attributeitem' => 'id','separator'=>'<br>','labelOptions'=>array('style'=>'margin-left: 80px;')) ); ?>
                </div>
        </div>
	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->